<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<button>打印查看</button>


<script
        src="https://lf6-cdn-tos.bytecdntp.com/cdn/expire-1-M/vConsole/3.12.1/vconsole.min.js"
        type="application/javascript"
></script>
<script>
    const vConsole = new window.VConsole();
    setTimeout(() => {
      // 设置开关按钮的位置。
      vConsole.setSwitchPosition(0, 700);
    }, 300);

    document.querySelector("button").onclick = function () {
      console.log("hello");
    };
</script>